package pl.edu.agh.io.gpstracker.client.dto;

public class MessagesDto extends BaseDto {

	public MessagesDto(){}
	
	public MessagesDto(String title, String message, Short type, UserDto user,
			UserDto user1) {
		super();
		this.title = title;
		this.message = message;
		this.type = type;
		this.user = user;
		this.user1 = user1;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 2398614560168843987L;

	private Integer id;
	private String title;
	private String message;
	private Short type;
	private UserDto user;
	private UserDto user1;

	public Integer getId() {
		return id;
	}

	public String getMessage() {
		return message;
	}

	public String getTitle() {
		return title;
	}

	public Short getType() {
		return type;
	}

	public UserDto getUser() {
		return user;
	}

	public UserDto getUser1() {
		return user1;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setType(Short type) {
		this.type = type;
	}

	public void setUser(UserDto user) {
		this.user = user;
	}

	public void setUser1(UserDto user1) {
		this.user1 = user1;
	}

}
